package cn.tedu.boot10.pojo.entity;

public class Player {
    private Integer id;
    private String name;
    private Integer teamId;


    /**
     * 获取
     * @return id
     */
    public Integer getId() {
        return id;
    }

    /**
     * 设置
     * @param id
     */
    public void setId(Integer id) {
        this.id = id;
    }

    /**
     * 获取
     * @return name
     */
    public String getName() {
        return name;
    }

    /**
     * 设置
     * @param name
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取
     * @return teamId
     */
    public Integer getTeamId() {
        return teamId;
    }

    /**
     * 设置
     * @param teamId
     */
    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public String toString() {
        return "player{id = " + id + ", name = " + name + ", teamId = " + teamId + "}";
    }
}
